﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WH.Common.Attributes
{
    public class RemoveCacheAttribute : Attribute
    {
        public RemoveCacheAttribute()
        {
        }

        public RemoveCacheAttribute(params string[] removeKeys)
        {
            RemoveKeys = removeKeys;
        }

        public bool Enable { get; set; } = true;

        public string[] RemoveKeys { get; set; }
    }
}